package com.ai.mydata.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
    import lombok.Data;

/**
* <p>
    * 
    * </p>
*
* @author liangalong
* @since 2024-11-12
*/
    @Data
    @TableName("admin")
    @ApiModel(value = "Admin对象", description = "")
    public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

            @ApiModelProperty("用户id")
            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            @ApiModelProperty("账号")
            @TableId("account")
    private String account;

            @ApiModelProperty("密码")
        @TableField("pass_word")
    private String passWord;

            @ApiModelProperty("账号是否通过，0未审核，1通过")
        @TableField("pass")
    private Integer pass;

            @ApiModelProperty("账户拥有者姓名")
        @TableField("name")
    private String name;


}




